package dao;

import org.apache.ibatis.annotations.Param;
import po.DyhNewsType;
import po.DyhNewsTypeExample;

import java.util.List;

public interface DyhNewsTypeMapper {
    int countByExample(DyhNewsTypeExample example);

    int deleteByExample(DyhNewsTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DyhNewsType record);

    int insertSelective(DyhNewsType record);

    List<DyhNewsType> selectByExample(DyhNewsTypeExample example);

    DyhNewsType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DyhNewsType record, @Param("example") DyhNewsTypeExample example);

    int updateByExample(@Param("record") DyhNewsType record, @Param("example") DyhNewsTypeExample example);

    int updateByPrimaryKeySelective(DyhNewsType record);

    int updateByPrimaryKey(DyhNewsType record);
}